import yaml

from autoTest_brtcApi.utils.get_path import get_yaml_path
def readFile(filename):
    with open(get_yaml_path(filename),'r',encoding='utf-8') as f:
        return yaml.safe_load(f)

if __name__ == "__main__":
    # print(readFile("tmp.yaml"))
    print(readFile("usercenterData.yaml")["regInfors"])